home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 3225 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: flash.LakeheadU.Ca!jgvotour
  2. From: jgvotour@flash.LakeheadU.Ca (Bonestripper/Omni)
  3. Newsgroups: comp.sys.cbm
  4. Subject: Re: PET 3032 kernal troubles..
  5. Message-ID: <23113@storm.LakeheadU.Ca>
  6. Date: 1 Mar 1996 21:33:41 GMT
  7. References: <19960225.7D0B5C0.C236@ccubb.com> <4h3vov$egt@turtle.stack.urc.tue.nl>
  8. Sender: news@storm.LakeheadU.Ca
  9. Organization: Lakehead University
  10. X-Newsreader: TIN [version 1.2 PL1]
  11.  
  12. Martijn van Buul (martijnb@stack.urc.tue.nl) wrote:
  13. : David Evans (devans@ccubb.com) wrote:
  14. : : set a location in lower memory to the values passed by your code.  If you can
  15. : : provide the EXACT rom version yo have, I might be able to help (although I no
  16. : : longer have a PET!)\
  17.  
  18. : Well.. In that case, I guess I'll let my hacking skills do their best :)
  19. : It shouldn't be too difficult what SETNAM and SETLFS do on a C64....
  20.  
  21. : Anyway, thanks for the hint !
  22.  
  23. : Martijn.
  24.  
  25. : -=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-
  26. : Martijn van Buul, martijnb@stack.urc.tue.nl, martijnb@mud.stack.urc.tue.nl
  27. :                or wboozer@dds.nl
  28. : -=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-
  29. :                  " Windows 95, by the makers of EDLIN"
  30. :          Try visiting OuterSpace, mud.stack.urc.tue.nl 3333
  31. : -=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=- If I remember correctly, on the very early PET computers, there was no
  32. equivalents to the SETNAM, SETLFS, etc. kernal routines.  The user had to
  33. store the values in zero page themself.  All that SETNAM and SETLFS do is
  34. take the parameters that you pass and put them in zero page, ie.
  35. lda #2:ldx #8:ldy #2:jsr SETLFS
  36.  
  37. The C64 does this :
  38. sta $b7:stx $b8:sty $b9:rts
  39. (I am not certain if these are the real memory locations, this is just off
  40. the top of my head).
  41.  
  42.